]> dgit.raspbian.org Git - gnome-shell.git/commit
notificationDaemon: Fix grouping by PID
authorFlorian Müllner <fmuellner@gnome.org>
Fri, 15 May 2020 13:28:17 +0000 (15:28 +0200)
committerverdre <jonas@dressler.it>
Tue, 19 May 2020 08:24:07 +0000 (08:24 +0000)
commit82fd68b985ca0cc0d27f2238e310deb6e3f0564b
treee7e194fb48beb4d28d394bc8659027f07f59832b
parent6ddd43f36178939d0e1873a40f1cf66f26c61140
notificationDaemon: Fix grouping by PID

For fd.o notifications, we are taking the sender's PID into
account when associating notifications with sources (mainly
to deal with notify-send).

This broke when the implementation under the well-known name
was moved into a separate service, as the implementation in
gnome-shell will now always see the public notification-daemon
as sender.

Restore the old behavior by resolving the sender PID in the
separate service, and pass it as hint to the implementation
in gnome-shell.

https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/2592
js/dbusServices/notifications/notificationDaemon.js
js/ui/notificationDaemon.js